import React from 'react';
import { Modal } from 'antd';
import { PlanTimeListParams } from '../data.d';
import styles from '../index.less';

interface CreateFormProps {
  modalVisible: boolean;
  values:PlanTimeListParams;
  onCancel: () => void;
}

const templateModel: React.FC<CreateFormProps> = (props) => {
  const { modalVisible, values, onCancel } = props;
  return (
    <Modal
      className={styles.ProgramModel}
      // width={900}
      destroyOnClose
      centered
      title="模板"
      visible={modalVisible}
      values={values}
      footer={null}
      onCancel={() => onCancel()}
    >
    </Modal>
  );
};

export default templateModel;
